import request from '@/utils/request'
// 获取房屋查询条件
export const condition = (cityId) => {
  return request({
    method: 'get',
    url: '/houses/condition',
    params: { id: cityId }
  })
}
// 根据条件查询房屋
export const houses = (params) => {
  return request({
    method: 'get',
    url: '/houses',
    params
  })
}
// 查询房屋具体信息
export const information = (id) => {
  return request({
    method: 'get',
    url: `/houses/${id}`
  })
}
